package com.wcards.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wcards.config.R;
import com.wcards.entity.AdoptApplicationInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AdoptApplicationInfoService extends IService<AdoptApplicationInfo> {
    R<String> insertOne(AdoptApplicationInfo aaInfo, HttpServletRequest request);

    R<String> updateOne(AdoptApplicationInfo aaInfo);


    R<Page<AdoptApplicationInfo>>  listAll(Integer current, Integer size);

    Page<AdoptApplicationInfo> listByUid(Integer current, Integer size, Integer userId);
}
